package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.pro.ProductionReport;

/**
 * @Author: YKYB
 * @Date: 2025/10/2 16:17
 * @Description:
 */
public interface ProductionReportService {
    //多条件分页查询报工单
    Result<PageInfo<ProductionReport>> selectProductionReport(ProductionReport productionReport,
                                                              int pageNum,
                                                              int pageSize);

    //编辑报工单
    Result updateProductionReport(ProductionReport productionReport);

    //确认
    Result updateStatus1(Long id);

    //通过
    Result updateStatus2(Long id);

    //不通过
    Result updateStatus3(Long id);

    //工具ID查询报工单
    Result<ProductionReport> selectById(Long id);

    //删除
    Result deleteById(Long id);

    //批量删除
    Result batchDelete(Long[] ids);
}
